use warp::Filter;
use crate::handlers::health_handler;

pub fn health_route() -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
    warp::path("health")
        .and(warp::get())
        .and_then(health_handler::handle_health)
}